﻿using System.Windows.Controls;
using Gamelight.Input;
using Gamelight.Scene;

namespace NpPuzzleGame
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();

			GameControl game = new GameControl()
			{
				GameWidth = 256,
				GameHeight = 224,
				TargetFramesPerSecond = 60,
				FullScreenShortcutKey = Key.F,
				StartingScene = new PlayScene()
			};

			this.LayoutRoot.Children.Add(game);

			game.StartGame();
		}
	}
}
